notes/Anki Algorithm Mental Map.md

# Anki Algorithm Mental Map

A visual representation of the Anki algorithm:

![Anki Algorithm Mental Map](https://github.com/woodward/memorex/blob/main/notes/Anki%20Algorithm%20Mental%20Map.jpeg?raw=true "Anki Algorithm Mental Map")

https://forums.ankiweb.net/t/deck-options-in-a-mental-map/15757

https://aws1.discourse-cdn.com/standard11/uploads/anki2/original/2X/8/852e362b5c6f1208feec3ac01047d6deab5e4a43.jpeg

May 27, 2022


NOTE:  the picture is WRONG for ansering :hard for review cards - you DO NOT multiply by the ease!!!

---------------------------------
It is also wrong for answering :good 
The picture:
interval = interval * card.ease_factor * config.interval_multiplier

From the Anki code:
interval = (interval + (time.now - card.due)/2) * card.ease_factor * config.interval_multiplier

---------------------------------

It is also wrong for answering :easy 
The picture:
interval = interval * card.ease_factor * config.interval_multiplier * config.easy_multiplier

From the Anki code:
interval = (interval + (time.now - card.due)) * card.ease_factor * config.interval_multiplier * config.easy_multiplier

NOTE THAT THIS ONLY APPLIES IF TIME_NOW IS GREATER THAN CARD.DUE!!! i.e., you get a little benefit if you 
are answering a card late.

---------------------------------

This is explained here:
https://faqs.ankiweb.net/due-times-after-a-break.html